import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';

export class CreateUserDto {
  @ApiProperty({ description: '账号' })
  account: string;

  @ApiProperty({ description: '密码' })
  password: string;

  @ApiPropertyOptional({ description: '昵称' })
  username: string;
}
